//package com.juyu.miliao.api.service;
//package com.juyu.miliao.api.service;
//
//import java.util.List;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//import com.juyu.miliao.api.dao.mysql.UserInfoDao;
//import com.juyu.miliao.api.dao.redis.VisitorRedisDao;
//import com.juyu.miliao.api.domain.User;
//
//@Service
//public class VisitorService {
//	@Autowired
//	private VisitorRedisDao visitorRedisDao;
//	@Autowired
//	private UserInfoDao userInfoDao;
//
//	public List<User> getVisitors(int userId){
//		List<Integer> userIds = visitorRedisDao.getVisitors(userId);
//		return userInfoDao.getUserListByUserIds(userIds);
//	}
//	
//}
